package thomas.javase.jooq;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class SimpleStudent implements Serializable {

    private int id;
    private String name;
    private int teacherId;
    private String _class;
    private String teacherName;

    public SimpleStudent(int id, String name, int teacherId, String _class){
        this.id = id;
        this.name = name;
        this.teacherId = teacherId;
        this._class = _class;
    }
}
